import { request } from 'ngfe-request';

// 运营投放成本统计
export async function peacefulCoinStats(params: any) {
  return request('/peacefulCoinStats', {
    method: 'POST',
    mode: 'cors',
    data: {
      sysHead: {
        stdSvcInd: 'ReportSVC',
        stdIntfcInd: 'peacefulCoinStats',
        stdIntfcVerNo: '1.0.0',
        srcConsmSysInd: 'DAM',
      },
      body: {
        ...params,
      },
    }
  })
}

// 平台折扣收入统计
export async function platformTxStatus(params: any) {
  return request('/platformTxStats', {
    method: 'POST',
    mode: 'cors',
    data: {
      sysHead: {
        stdSvcInd: 'ReportSVC',
        stdIntfcInd: 'platformTxStats',
        stdIntfcVerNo: '1.0.0',
        srcConsmSysInd: 'DAM',
      },
      body: {
        ...params,
      },
    }
  })
}

// 货币发行与流通
export async function effRateMV(params: any) {
  return request('/effRateMV', {
    method: 'POST',
    mode: 'cors',
    data: {
      sysHead: {
        stdSvcInd: 'ReportSVC',
        stdIntfcInd: 'effRateMV',
        stdIntfcVerNo: '1.0.0',
        srcConsmSysInd: 'DAM',
      },
      body: {
        ...params,
      },
    }
  })
}